package com.helen.entity;

import java.io.Serializable;

/**
 * Created by yang on 2018/4/27.
 * 优惠券
 */

public class CouponsEntity implements Serializable {
    /**
     * id : 1
     * name : 10元代金券
     * money : 10.0
     * createtime : 2018-04-19 00:00:00
     * endtime : 2018-04-25 00:00:00
     */

    private int id;
    private String name;
    private double money;
    private String createtime;
    private String endtime;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public double getMoney() {
        return money;
    }

    public void setMoney(double money) {
        this.money = money;
    }

    public String getCreatetime() {
        return createtime;
    }

    public void setCreatetime(String createtime) {
        this.createtime = createtime;
    }

    public String getEndtime() {
        return endtime;
    }

    public void setEndtime(String endtime) {
        this.endtime = endtime;
    }

    @Override
    public String toString() {
        return "CouponsEntity{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", money=" + money +
                ", createtime='" + createtime + '\'' +
                ", endtime='" + endtime + '\'' +
                '}';
    }
}
